
package com.dp.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


@Data
public class NozzleUseRecordDto extends BaseMqMessage {
  
    /** 序号 */
    @ApiModelProperty(value = "序号", position = 1)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long sn;
    
    /** 网关设备编号 */
    @ApiModelProperty(value = "网关设备编号", position = 2)
    private String gatewayEquipmentNo;
    
    /** 端口号 */
    @ApiModelProperty(value = "端口号", position = 3)
    private Integer port;
    
    @ApiModelProperty(value = "时长", position = 4)
    private Integer duration;

    /** 抬枪时间 */
    @ApiModelProperty(value = "抬枪时间(yyyy-MM-dd HH24:MI:SS)", position = 5)
    private String liftTime;

    /** 挂枪时间 */
    @ApiModelProperty(value = "挂枪时间(yyyy-MM-dd HH24:MI:SS)", position = 6)
    private String hangUpTime;
    
    /** 记录时间 */
    @ApiModelProperty(value = "记录时间(yyyy-MM-dd HH24:MI:SS)", position = 7)
    private String recordTime;

}

